package com.scy.controller;

import com.scy.service.InventoryService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author：sichenyong
 * @Email: sichenyongwork@163.com
 * @Package：com.scy.controller
 * @Project：Redis7NewDataStructure
 * @Date：2024/4/29 15:02
 * @description：
 */
@RestController
public class InventoryController {

    @Resource
    private InventoryService inventoryService;

    @GetMapping("/inventory/sale")
    public String sale() {
        return inventoryService.sale();
    }
}
